<?php

$thisPage = "visithungary";

TemplateHelper::useLayout("links");

function buildLayout(&$smarty) {
    global $subpage;
    initDatabase();
    Database::loadModel("staticlinks");
    $content = Database::getModel()->getGroup("visithungary");
    $smarty->assign("title", "Visit Hungary");
    $smarty->assign("links", $content);
    $smarty->assign("simple", 1);
    $smarty->assign("newwindow", 1);
    $smarty->assign("virt_exhibition", true);
}


function getPageHeader() {
    return TemplateHelper::getDefaultPageHeader();
}

function getPageFooter() {
    return TemplateHelper::getDefaultPageFooter();
}

function getContent($smarty) {
    global $thisPage;

    initDatabase();
    Database::loadModel("staticcontent");
    $content = Database::getModel()->getField("visithungary");
    return array(
        content => $content,
        title => "Visit Hungary!",
    );
}

?>
